import { createRoot } from 'react-dom/client'
import { RouterProvider } from 'react-router-dom';
import router from './router/index'; // 导入路由配置
import "@/style/main.scss"
import { AuthProvider } from './contexts/AuthContext';
createRoot(document.getElementById('root')).render(
    <AuthProvider>
    {/* 挂载路由 */}
    <RouterProvider router={router} />
  </AuthProvider>,
)
